remus: fix incorrect error handling for switch_qemu_logdirty in checkpoint code
authorShriram Rajagopalan <rshriram@cs.ubc.ca>
Tue, 12 Apr 2011 12:28:51 +0000 (13:28 +0100)
committerShriram Rajagopalan <rshriram@cs.ubc.ca>
Tue, 12 Apr 2011 12:28:51 +0000 (13:28 +0100)
commit7d75f6881e5d438d5eb1d2abda78c64b43ab8544
tree784a8163f45d47d842ba59a370fa5722ebfbd47f
parent8d247c677a90d44ee43cb9cc9f2987654ff00a28
remus: fix incorrect error handling for switch_qemu_logdirty in checkpoint code

c/s 22275: "tools: cleanup domain save switch_qemu_logdirty callback"
introduced a whole bunch of error code fixups. In the process, it also
ended up treating the success return code (0) from
switch_qemu_logdirty as an error and vice versa.

Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>
tools/python/xen/lowlevel/checkpoint/libcheckpoint.c